introspection: Fix (out) for gdk_screen_get_monitor_geometry
authorColin Walters <walters@verbum.org>
Mon, 6 Dec 2010 16:42:47 +0000 (11:42 -0500)
committerColin Walters <walters@verbum.org>
Mon, 6 Dec 2010 16:42:47 +0000 (11:42 -0500)
Scanner doesn't detect this case correctly because it's a typedef;
work around it here by explicitly specifying that it's caller
allocates.  See bug 636393 for the scanner issue.

gdk/x11/gdkscreen-x11.c

index 5927378839a2e460c8049b8f7a5190d4e5c8f997..362ec485a642d1ddad49db408cbf2cc4977ebd7d 100644 (file)
@@ -450,7 +450,7 @@ gdk_x11_screen_get_monitor_output (GdkScreen *screen,
  * gdk_screen_get_monitor_geometry:
  * @screen: a #GdkScreen
  * @monitor_num: the monitor number, between 0 and gdk_screen_get_n_monitors (screen)
- * @dest: (out) (allow-none): a #GdkRectangle to be filled with the monitor geometry
+ * @dest: (out caller-allocates) (allow-none): a #GdkRectangle to be filled with the monitor geometry
  *
  * Retrieves the #GdkRectangle representing the size and position of
  * the individual monitor within the entire screen area.